<!DOCTYPE html>
<html xmlns="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<base th:href="@{/}" />
<title>Insert title here</title>
<link rel="stylesheet" th:href="@{/css/bootstrap.min.css}"/>
<link rel="stylesheet" th:href="@{/css/Managerstyle.css}"/>
<script th:src="@{/js/jquery-3.4.1.min.js}"></script>
<script th:src="@{/js/bootstrap.min.js}"></script>
</head>
<body>
	<div class="contain">
		<h3>修改专业</h3>
		<div class="modify">
			<form action="mc/modifyMajor" method="post">
				<input type="hidden" name="mjid" th:value="${major.mjid}">
				<dl class="dl-horizontal">
					<dt>专业名称：</dt>
					<dd><input required="required" type="text" name="mjname" th:value="${major.mjname}" class="form-control" style="width: 250px;"></dd>
					<br>
					<dt>所属学院：</dt>
					<dd>
						<select name="acdmid">
							<option th:value="${major.acadamy.acdmid}" th:text="|${major.acadamy.acdmname}|"></option>
							<option th:each="acadamy:${acadamylist}" th:value="${acadamy.acdmid}" th:text="|${acadamy.acdmname}|"></option>
						</select>
					</dd>
					<br>
					<dt>年级：</dt>
					<dd>
						<select name="termId" >
							<option th:value="${major.term.termId}" th:text="|${major.term.tyear}|"></option>
							<option th:each="term:${termlist2}" th:value="${term.termId}" th:text="|${term.tyear}|"></option>
						</select>
					</dd>
					<br>
					<dt>描述：</dt>
					<dd><input type="text" name="description" th:value="${major.description}" class="form-control" style="width: 250px;"></dd>
					
				</dl>
				<input type="submit" class="btn btn-primary" value="提 交">
			</form>
		</div>
	</div>



</body>
</html>